home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
devel
/
vbcc-68k-src
/
machines
/
amiga68k
/
include
/
ctype.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-01
|
1KB
|
52 lines
#ifndef __CTYPE_H
#define __CTYPE_H 1
extern unsigned char __ctype[];
int isalnum(int);
int isalpha(int);
int iscntrl(int);
int isdigit(int);
int isgraph(int);
int islower(int);
int isprint(int);
int ispunct(int);
int isspace(int);
int isupper(int);
int isxdigit(int);
#define isalpha(x) (__ctype[(x)+1] & 3)
#define isupper(x) (__ctype[(x)+1] & 1)
#define islower(x) (__ctype[(x)+1] & 2)
#define isdigit(x) (__ctype[(x)+1] & 4)
#define isxdigit(x) (__ctype[(x)+1] & 68)
#define isalnum(x) (__ctype[(x)+1] & 7)
#define isspace(x) (__ctype[(x)+1] & 8)
#define ispunct(x) (__ctype[(x)+1] & 16)
#define iscntrl(x) (__ctype[(x)+1] & 32)
#define isprint(x) (__ctype[(x)+1] & 151)
#define isgraph(x) (__ctype[(x)+1] & 23)
int toupper(int);
int tolower(int);
#ifdef __INLINE_ALL
#define __INLINE_TOUPPER
#define __INLINE_TOLOWER
#endif
#ifdef __INLINE_TOUPPER
#pragma only-inline on
#include "vbcc:libsrc/ctype/toupper.c"
#pragma only-inline off
#endif
#ifdef __INLINE_TOLOWER
#pragma only-inline on
#include "vbcc:libsrc/ctype/tolower.c"
#pragma only-inline off
#endif
#endif